home *** CD-ROM | disk | FTP | other *** search
- Defining your own weeding types.
- --------------------------------
-
- It is possible to define up to 16 weed types.
- This is done in the !Config file with the 'WeedType' keyword.
- For each weedtype, write a line like this:
-
- WeedType <name> [<clause>[ <clause>...]]
-
- The <name> will appear in the 'Weed' menu and should be 1-12 letters.
- The <clause> (if present) is one or more of the following booleans:
- (Case doesn't matter)
-
- Boolean: TRUE, if:
-
- Found The message was found with the 'Search' function
- Read The message has been read at least once
- Sent The message has been sent to all downlinks
- Personal The message is to or from you
- Marked The message is marked
- New The message was in the recently tossed packet
-
- The booleans can also be prefixed by Not (eg. 'NotSent') which will negate
- their meanings.
- Furthermore, there is:
-
- Age>xx
- Age<xx
-
- which will be true if the message is in the range specified.
-
- To determine whether a message should be deleted, the booleans are calculated,
- and if ALL OF THEM are true (ie there's AND in between), the message is
- deleted. Missing booleans are 'Don't care' (not checked).
-
- An example would be 'Delete all mail which is older than 14 days, but not if
- I haven't read it or it haven't been sent yet or if I've marked it as
- important.'
- This is expressed in the !Config file as:
-
- WeedType "Fortnight" Age>14 Read Sent NotMarked
-
- Which, in words, could be expressed as: 'Delete messages whose age is greater
- that 14 days AND which is read AND sent AND not marked.'
-
- Another example:
- 'Delete all mail except the important (marked) mail and my personal mail.'
-
- WeedType "Clean" NotMarked NotPersonal
-
- One more:
- 'Retain only the latest messages and the marked ones'
-
- WeedType "Old" NotNew NotMarked
-
- Yet another example:
- 'Delete all mail'
-
- WeedType "All"
-
- (there's nothing after the name, so everything is 'Don't care')
-
-